package com.mifengs.mall.entity;

/**
 * Created by lihaoqi on 2018/6/29.
 */

public class JsRespInfo<T> {

    private T result;

    private String msg = "";

    private int status;//200 成功  201失败

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "JsRespInfo{" +
                "result=" + result +
                ", msg='" + msg + '\'' +
                ", status=" + status +
                '}';
    }
}
